<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-card-body" th:fragment="query">

    <div class="zmn-form-item">

        <div class="item-inline">
            <label class="inline-label">渠道名称：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="channelId" id="channelId" lay-filter="channelId" lay-search>
                            <option value=""></option>
                            <option th:each="channel:${channelList}" th:value="${channel.channelId}"
                                    th:selected="${channel.channelId == vo.channelId}" th:text="${channel.name}"/>
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">试点类型：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="type" id="type" lay-search>
                            <option value=""></option>
                            <option th:each="type:${typeList}" th:value="${type.key}"
                                    th:selected="${type.key == vo.type}" th:text="${type.value}"/>
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline col2">
            <label class="inline-label">执行城市：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline col2">
                        <select name="provinceId" id="provinceId" lay-filter="provinceId" lay-search>
                            <option value=""></option>
                            <option th:each="province:${provinceList}" th:value="${province.value}"
                                    th:selected="${province.value == vo.provinceId}" th:text="${province.text}"/>
                        </select>
                    </div>
                    <div class="box-input-inline col2">
                        <select name="cityId" id="cityId" lay-search>
                            <option value=""></option>
                            <option th:each="city:${cityList}" th:value="${city.value}"
                                    th:selected="${city.value == vo.cityId}" th:text="${city.text}"/>
                        </select>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="zmn-form-item">

        <div class="item-inline">
            <label class="inline-label">支付方式：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="payType">
                            <option value=""></option>
                            <option value="1" th:selected="${vo.payType == 1}">必须下单时支付</option>
                            <option value="2" th:selected="${vo.payType == 2}">必须下单后支付</option>
                            <option value="3" th:selected="${vo.payType == 3}">两种均支持</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>


        <div class="item-inline">
            <label class="inline-label">状态：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="status">
                            <option value=""></option>
                            <option value="1" th:selected="${vo.status == 1}">停用</option>
                            <option value="2" th:selected="${vo.status == 2}">启用</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-submit ">
            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="query-submit"><i class="layui-icon">&#xe615;</i>
            </button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon">&#xe669;</i>
            </button>
        </div>

    </div>

</div>